package com.zmj.mobile.mapstruct;


import com.zmj.mobile.dto.QuoteItemDetailInsertDTO;
import com.zmj.mobile.dto.QuoteItemDetailUpdateDTO;
import com.zmj.mobile.entity.QuoteItemDetailEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface QuoteItemDetailMapStruct {

    QuoteItemDetailMapStruct INSTANCE = Mappers.getMapper(QuoteItemDetailMapStruct.class);

    QuoteItemDetailEntity toQuoteItemDetail(QuoteItemDetailInsertDTO insertDTO);

    QuoteItemDetailEntity toQuoteItemDetail(QuoteItemDetailUpdateDTO updateDTO);
}